package com.buddy.lock.reentrantlock._05;

public class ThreadB extends Thread{

    private MyService myService;

    public ThreadB(MyService myService){
        super();
        this.myService = myService;
    }

    public void run(){
        myService.awaitB();
    }

}
